//
//  TestTool.m
//  循环引用示例
//
//  Created by 江湖 on 2019/6/14.
//  Copyright © 2019 江湖. All rights reserved.
//

#import "TestTool.h"

@implementation TestTool
- (void)testBlock:(void (^)(NSString *))block{
        self.block = block;
        dispatch_async(dispatch_get_global_queue(0, 0), ^{
            dispatch_sync(dispatch_get_main_queue(), ^{
                block(@"测试block");
            });
        });
}
@end
